//
//  CRenren.h
//  HotDisPlus
//
//  Created by yilong zhang on 12-7-5.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Renren.h"

@protocol RenRenDelegate <NSObject>

@optional
-(void)DidLoginRenren:(id)renren State:(int)state;

@end

@interface CRenren : NSObject <RenrenDelegate>

@property (nonatomic, assign) id<RenRenDelegate>  delegate;
@property (nonatomic, retain) Renren              *m_RenrenClt;

+(CRenren*)DefaultRenren;
+(void)DestroyRenren;

-(void)LoginRenren:(UIViewController*)parent Name:(NSString*)name;
-(void)ShareToRenren:(NSString*)content ImageFile:(UIImage*)file;
-(void)LoginRenrenSuc;

@end
